package com.xzr.controller;

import com.xzr.entity.User;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author：jojo
 * @Date：2022/1/25 16:00
 * @Description :TODO
 */
@RestController
@RequestMapping("/tt")
public class JsonManagerController {
    
    @RequestMapping("/jj")
    public String addOne(@RequestBody User user){
        System.out.println("123");
        return user.toString();
    }
}
